.pragma library // Shared game state
/************| 属性 *************/
var BGM = null;
var AppWin = null;
var DesiginScaleFactor = {x:1, y:1};
/************| 函数 |***************/
function playEffect(name) {
	var str = "import QtMultimedia 5.2;MediaPlayer{id:snd;autoPlay:true;onStopped:destroy();source:'/sounds/" + name + ".ogg'}";
	Qt.createQmlObject(str, Qt.application);
}
